package com.swjd.pojo;

import java.util.List;

public class Type2 {
    private Integer typeID;//商品类型编号（子类）

    private String tName;//商品类型名称

    private Integer superID;//商品类型编号（父类）

    private Type type;//商品类型（对象）

    public Type2() {
    }

    public Type2(Integer typeID, String tName, Integer superID) {
        this.typeID = typeID;
        this.tName = tName;
        this.superID = superID;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Integer getTypeID() {
        return typeID;
    }

    public void setTypeID(Integer typeID) {
        this.typeID = typeID;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName == null ? null : tName.trim();
    }

    public Integer getSuperID() {
        return superID;
    }

    public void setSuperID(Integer superID) {
        this.superID = superID;
    }
}